class User {
  boolean activated
  Boolean blocked
  boolean candel
  boolean canmod
  boolean corrector
  String email
  Date lastlogin
  Date lostpwd
  int maxScore
  int score
  String name
  String nick
  Date regdate
  String town
  String url


  static mapping = {
    table 'users'
    version false
  }

  static constraints = {
    blocked nullable: true
    nick size: 0..80
  }
}
